﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;

namespace PauloC.DAL
{
    public class Context : DbContext
    {
        public Context()
            : base()//base(@"Data Source=SPOPCSF221140;Initial Catalog=pauloc_blog;Integrated Security=True") //base(@"Data Source=204.93.174.60;Initial Catalog=pauloc_blog;Persist Security Info=True;User ID=pauloc_blog;Password=n140887")
        {

        }

        public DbSet<UsuarioDB> Usuario { get; set; }
        public DbSet<TipoUsuarioDB> TipoUsuario { get; set; }
        public DbSet<PostagemDB> Postagem { get; set; }
        public DbSet<ComentarioDB> Comentario { get; set; }
        public DbSet<CategoriaDB> Categoria { get; set; }
    }
}
